﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace Bildverarbeitung
{
    class HesseSebastianFilter: IFilter
    {

        public HesseSebastianFilter()
        {

        }

        public Bitmap GetSummerizedDifferencefromAverage(Bitmap[] images)
        {
            Bitmap dst = new Bitmap(images[0].Width, images[0].Height, images[0].PixelFormat);
            HesseSebastianDynamicFilter f = new HesseSebastianDynamicFilter(images, HesseSebastianDynamicFilter.Method.MEDIAN);
            dst = f.Apply(dst);
            return dst;
        }

        public String GetName()
        {
            return ("Hesse Sebastian");
        }
    }
}
